home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 5 / BBS in a Box -Volume V (BBS in a Box) (April 1992).iso / Files / Word / Ae-An / Alpha.20.release.cpt / Alpha.2.0.rsrc / STR#_128.txt < prev    next >
Encoding:
Text File  |  1990-08-24  |  5.2 KB  |  273 lines

  1. All About ALPHA
  2.  
  3. =================================
  4.  
  5.  
  6.  
  7. Copyright ¬© 1990, Pete Keleher. All Rights Reserved.
  8.  
  9.  
  10.  
  11. Portions of the help facility were inspired by John 
  12.  
  13. Norstad of Northwestern University.
  14.  
  15.  
  16.  
  17. The Author(s) of this product are in no way liable
  18.  
  19. for any direct or indirect damage caused by the product. 
  20.  
  21.  
  22.  
  23. Version 2.0 August 20, 1990
  24.  
  25.  
  26.  
  27. You may freely copy and distribute ALPHA, but please bear 
  28.  
  29. in mind that ALPHA is Shareware. If you decide to keep it, 
  30.  
  31. please register your copy by sending $20 to the author. If 
  32.  
  33. you wish the latest version sent to you, please include 
  34.  
  35. either an extra $2 or a disk and SASE. If you are on the 
  36.  
  37. internet, I can send the latest version to you directly, so
  38.  
  39. you need not bother with the extra $2. Please make any check
  40.  
  41. or money order out to Pete Keleher, NOT Rice University.
  42.  
  43.  
  44.  
  45. E-mail address:     pete@rice.edu
  46.  
  47. Snail-mail address: Pete Keleher
  48.  
  49.                     P.O. Box 1892
  50.  
  51.                     Dept. of Computer Science
  52.  
  53.                     Rice University
  54.  
  55.                     Houston, TX 77251-1892
  56.  
  57.  
  58.  
  59. Thanks to Jerry Fowler, Butch Anton, Michael Connick, 
  60.  
  61. John Swartz, and Ephraim Vishniac.
  62.  
  63.  
  64.  
  65.  
  66.  
  67. FEATURES:
  68.  
  69. ‚Ä¢ Support. Even though I should be working on my thesis, 
  70.  
  71.   I enjoy working on this editor, and would like it to 
  72.  
  73.   become the standard low-cost mac editor. If you 
  74.  
  75.   think that its seriously lacking a few features, drop me 
  76.  
  77.   a line, I might agree w/ you and put them in. Of course, 
  78.  
  79.   I'll take you more seriously if you have payed your 
  80.  
  81.   shareware fee‚Ķ
  82.  
  83.  
  84.  
  85. ‚Ä¢ Can be configured as a coke-bottle emacs (sans a few of
  86.  
  87.   GNU's more advanced capabilities).
  88.  
  89.  
  90.  
  91. ‚Ä¢ ALPHA is a MAC editor, not an emacs port. The clean, 
  92.  
  93.   intuitive Mac interface is fully implemented. This means 
  94.  
  95.   that switching from an editor like the one that is 
  96.  
  97.   integrated with a popular C compiler is seamless. You
  98.  
  99.   can do everything w/ the mouse if you want to, but you
  100.  
  101.   can also do everything w/o the mouse.
  102.  
  103.  
  104.  
  105. ‚Ä¢ Unlimited undo/redo.
  106.  
  107.  
  108.  
  109. ‚Ä¢ All functions can be bound to any keystroke, including 
  110.  
  111.   keystrokes modified by the command key, the control key, 
  112.  
  113.   the shift key, the 'escape' key, and the 'prefixChar' 
  114.  
  115.   key. Ability to map any extra keys, such as function 
  116.  
  117.   keys, 'Home', 'End', etc.
  118.  
  119.  
  120.  
  121. ‚Ä¢ Named marks and clipboards.
  122.  
  123.  
  124.  
  125. ‚Ä¢ Regular expression searching of open and unopened files. 
  126.  
  127.  
  128.  
  129. ‚Ä¢ Configurable 'C' function tags.
  130.  
  131.  
  132.  
  133. ‚Ä¢ File utilities such as InsertFile, FileStats, 
  134.  
  135.   FileInfo, and FileRemove.
  136.  
  137.  
  138.  
  139. ‚Ä¢ Cut/Copy/Paste and key equivalents in dialogs.
  140.  
  141.  
  142.  
  143. ‚Ä¢ Many more features that I haven't documented. Play 
  144.  
  145.   around!
  146.  
  147.  
  148.  
  149.  
  150.  
  151. Road Map
  152.  
  153. =================================
  154.  
  155.  
  156.  
  157. Emacs is the best of those dreaded editors from mainframes 
  158.  
  159. which originated before mice, before cursor keys even. You 
  160.  
  161. don't have to know anything about emacs if you don't want 
  162.  
  163. to, but many of Alpha's functions are emacs equivalents. 
  164.  
  165. Many of the default key bindings are the same as emacs.
  166.  
  167.  
  168.  
  169. The mark is just a specific location in the text that you 
  170.  
  171. think you might want to come back to, so you mark it, then 
  172.  
  173. later you call 'exchangePointAndmark', to get back to 
  174.  
  175. it. I liked marks so much that I added the capability to 
  176.  
  177. have any number of named marks (see the utilities menu). 
  178.  
  179. Emacs uses the mark and the "point" (the current insertion 
  180.  
  181. point) to limit the "current region". The current region 
  182.  
  183. can be operated on by many routines. The same routines 
  184.  
  185. also can operate on a region that is hilited instead.
  186.  
  187.  
  188.  
  189. Emacs also has a keyboard macro, which is just a recording 
  190.  
  191. of a sequence of keystrokes. ALPHA has this, plus the 
  192.  
  193. capability to dump the current macro to a file in human-
  194.  
  195. readable format, edit it, and load it again later.
  196.  
  197.  
  198.  
  199. But the most important contribution of emacs was that it 
  200.  
  201. made it essential for my health to have unlimited undo/
  202.  
  203. redo and the ability to bind any function to any 
  204.  
  205. keystroke. If you are like me, you spend a lot of time in 
  206.  
  207. your editor. You should be able to tailor the editor to 
  208.  
  209. your tastes, and it should be forgiving of mistakes.
  210.  
  211.  
  212.  
  213. On the mac side, I have always been greatly impressed by 
  214.  
  215. the look and feel of Think C's editor. It has almost no 
  216.  
  217. advanced functionality, but it's fast and it's SOLID. I 
  218.  
  219. liked that, and so in some sense ALPHA has been modeled 
  220.  
  221. after Think's editor as well. Most of Think's features 
  222.  
  223. have been included here as well: open selection, shift 
  224.  
  225. left/right, balance, searching of a particular set of 
  226.  
  227. files, as well as various combinations of the cursor keys 
  228.  
  229. w/ shift and option modifiers. Using a third-party editor 
  230.  
  231. w/ Think isn't that easy, but it can be done. You can do 
  232.  
  233. all of your editing in ALPHA, and then when it's time to 
  234.  
  235. compile, select the "Make" menu item and hit the "Use 
  236.  
  237. Disk" button. This button forces think to go to disk and 
  238.  
  239. check modification times, something they should be doing 
  240.  
  241. as a matter of course anyway!
  242.  
  243.  
  244.  
  245. So, where to start? Play around. Use the functions that are
  246.  
  247. mapped to the keyboard by default. Have fun!
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255. Using Regular Expressions
  256.  
  257. =================================
  258.  
  259.  
  260.  
  261. ALPHA can search for patterns constructed from pseudo 
  262.  
  263. regular expressions. Regular expressions can not extend 
  264.  
  265. over a single line and are constructed from the following 
  266.  
  267. elements:
  268.  
  269.  
  270.  
  271. c        literal char
  272.  
  273.